#ifndef QIHLOGGER_H
#define QIHLOGGER_H

#include "qihevent.h"
#include "ihcore_global.h"

#include <QObject>

class IHCORE_EXPORT QihLogger : public QObject
{
	Q_OBJECT

public:
	QihLogger(QObject *parent);
	~QihLogger();

	void logEvent(QihEvent* pEvent) { doLogEvent(pEvent); };
protected:
	virtual void doLogEvent(QihEvent* pEvent) = 0;
};

#endif // QIHLOGGER_H
